<div class="row-fluid contact">
    <div class="span5 contact_map">
        <h3 class="detail_main_c">How to find us</h3>
        <p class="detail_main_c_map">
            <?php 
                $map = modules::run('pages/get_static_page_content', array('uri' => '/map')); 
                $map = str_replace('<p>', '', $map);
                $map = str_replace('</p>', '', $map);
                echo $map;
            ?>
        </p>
    </div> <!-- /contact_map -->
    <div class="span7 contact_form">
        <h3 class="detail_main_c"><?php echo __('IP_contact_title') ?></h3>
        <?php echo modules::run('pages/get_static_page_content', array('uri' => get_url_by_lang(switch_language($this->uri->segment(1)), 'right-footer-content', TRUE))); ?>
        <?php echo $this->load->view('powercms/message'); ?>
        <?php echo form_open($submit_uri); ?>
            <div class="row-fluid">
                <?php echo form_input(array('name' => 'name','placeholder' => __("IP_fullname"), 'maxlength' => '30', 'class' => "span8", 'value' => set_value('name'))); ?>
            </div>
            <div class="row-fluid">
                <?php echo form_input(array('name' => 'phone','placeholder' => __("IP_phone"), 'maxlength' => '15', 'class' => "span8", 'value' => set_value('phone'))); ?>
            </div>
            <div class="row-fluid">
                <?php echo form_input(array('name' => 'email','placeholder' => __("IP_email"), 'maxlength' => '256', 'class' => "span8", 'value' => set_value('email'))); ?>
            </div>
            <div class="row-fluid">
                <?php echo form_textarea(array('name' => 'content','placeholder' => __("IP_content"), 'rows' => '8','cols' => '150', 'style' => "margin: 0px 0px 10px; width: 452px;", 'value' => set_value('content'))); ?>
            </div>
            <div class="row-fluid">
                <input type="text" placeholder="<?php echo __("IP_capcha"); ?>" maxlength="10" style="width: 300px;" value="" name="security_code"> 
                <img src="/security_code" style="margin-top: -12px; margin-left: 5px;">
            </div>
        <input type="submit" class="more" style="float: right; margin-right: 110px; border: 0px none; background: none repeat scroll 0% 0% transparent;" value="<?php echo __('IP_send_contact');?>"/>
        <?php echo form_close(); ?>
    </div> <!-- /contact_form -->
</div>